<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>获取成功</title>
</head>
获取成功...
<body>
<script>
    // 常规关闭
    setTimeout(function (){
        window.opener = window;
        const win = window.open("", "_self");
        win.close();
        //frame的时候
        top.close();
    },500)
    // 微信浏览器关闭
    setTimeout(function (){
        WeixinJSBridge.call('closeWindow')
    },500)
    // 支付宝浏览器关闭
    setTimeout(function (){
        AlipayJSBridge.call('closeWebview')
    },500)
</script>
</body>
